package com.jeejam.order.service.impl;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;


import com.jeejam.framework.base.service.impl.BaseServiceImpl;
import com.jeejam.order.dao.OrderAddressMapper;
import com.jeejam.order.pojo.OrderAddress;
import com.jeejam.order.service.OrderAddressService;

@Service
public class OrderAddressServiceImpl extends BaseServiceImpl implements OrderAddressService{
	private OrderAddressMapper orderAddressMapper;

	@Resource
	public void setOrderAddressMapper(OrderAddressMapper orderAddressMapper) {
		this.orderAddressMapper = orderAddressMapper;
		this.baseMapper = orderAddressMapper;
	}

	@Override
	public OrderAddress findByOrderId(int orderId) {
		return orderAddressMapper.selectByOrderId(orderId);
	}

}
